/**
 * TestCategory.java
 * @author: liuex
 * 2008-1-10 ����02:47:04
 *
 * note: 
 */
package org.lex.swing.prefs;

import java.awt.BorderLayout;
import java.awt.Component;

import javax.swing.JLabel;

public class TestCategory extends CategoryAdapter {
	private String title = null;

	public TestCategory(String title) {
		super();
		this.title = title;
		this.setLayout(new BorderLayout());
		this.add(new JLabel(title), BorderLayout.CENTER);
	}

	public Component getCategoryComponent() {
		return this;
	}

	@Override
	public String getTitle() {
		return title;
	}
}
